<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>冻结参数设置</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <meta name="description" content="网站描述"/>
    <meta name="keywords" content=""/>
    <meta name="author" content="wangl"/>
    <link rel="icon" href="http://ow9lg82yy.bkt.clouddn.com/24f5c360-485d-4a6d-9468-2a61c353cf37.ico">
    <link rel="stylesheet" href="/static/layui/css/layui.css" media="all"/>
    <link rel="stylesheet" href="/static/zTree/v3/css/zTreeStyle/zTreeStyle.css" type="text/css">
    <style type="text/css">
        .layui-form-item .layui-inline {
            width: 33.333%;
            float: left;
            margin-right: 0;
        }

        @media (max-width: 1240px) {
            .layui-form-item .layui-inline {
                width: 100%;
                float: none;
            }
        }

        .layui-form-item .role-box {
            position: relative;
        }

        .layui-form-item .role-box .jq-role-inline {
            height: 100%;
            overflow: auto;
        }

        /***
        *  ztree 图标变成黄色
        */
        .ztree .line {
            line-height: 0;
            border-top: none;
            float: none;
        }

        .ztree li span.button.ico_docu {
            background-position: -110px 0;
            margin-right: 2px;
            vertical-align: top;
        }

        .multiSelect {
            line-height: normal;
            height: auto;
            padding: 4px 10px;
            overflow: hidden;
            min-height: 38px;
            margin-top: -38px;
            left: 0;
            z-index: 99;
            position: relative;
            background: none;
        }

        .multiSelect a {
            padding: 2px 5px;
            background: #908e8e;
            border-radius: 2px;
            color: #fff;
            display: block;
            line-height: 20px;
            height: 20px;
            margin: 2px 5px 2px 0;
            float: left;
        }

        .multiSelect a span {
            float: left;
        }

        .multiSelect a i {
            float: left;
            display: block;
            margin: 2px 0 0 2px;
            border-radius: 2px;
            width: 8px;
            height: 8px;
            background: url(/static/images/close.png) no-repeat center;
            background-size: 65%;
            padding: 4px;
        }

        .multiSelect a i:hover {
            background-color: #545556;
        }

        .layui-field-box a {
            padding: 2px 5px;
            background: #908e8e;
            border-radius: 2px;
            color: #fff;
            display: block;
            line-height: 20px;
            height: 20px;
            margin: 2px 5px 22px 0;
            float: left;
        }

        .layui-field-box a span {
            float: left;
        }

        .boxadd {
            float: left;
            display: block;
            margin: 2px 0 0 2px;
            border-radius: 2px;
            width: 8px;
            height: 8px;
            background-size: 65%;
            padding: 4px;
        }
    </style>
</head>
<body class="childrenBody">
<form id="form" class="layui-form" action="/back/dealparam/frozen/s" method="get" style="width:80%;">
    <div class="layui-form-item">
        <label class="layui-form-label">考核周期</label>
        <div class="layui-input-block">
            <input type="text" class="layui-input" id="s_examinationCycle" name="s_examinationCycle"
                   placeholder="以天为单位">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">动销率</label>
        <div class="layui-input-block">
            <input type="text" class="layui-input" id="s_movingPin" name="s_movingPin"
                   placeholder="百分比">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">动销率</label>
        <div class="layui-input-block">
            <input type="text" class="layui-input" id="s_frozenBuyBackFee" name="s_frozenBuyBackFee"
                   placeholder="百分比">
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-block">
            <input class="layui-btn" type="submit" value="更改">
            <#--<button type="reset" class="layui-btn layui-btn-primary">重置</button>-->
        </div>
    </div>
</form>
<script type="text/javascript" src="/static/js/jquery.min.js"></script>
<script type="text/javascript" src="/static/layui/layui.js"></script>
<script type="text/javascript" src="/static/js/wangEditor.min.js"></script>
<script type="text/javascript" src="/static/zTree/v3/js/jquery.ztree.all-3.5.min.js"></script>
<script type="text/javascript" src="/static/js/common.js"></script>
<script>


    function getList() {
        var list;
        $.ajax({
            async: false,
            url: "/back/dealparam/frozen/sList",
            type: 'get',
            success: function (baseDto) {
                dealBaseDto(baseDto, function (baseDto) {
                    frozenData = baseDto.data;
                })
            }
        });
        return list;
    };


    var list = getList();

    function loadData(list) {
        //配发周期
        var m_examinationCycleDiv = $("#s_examinationCycle");
        m_examinationCycleDiv.val(frozenData.s_examinationCycle);
        var m_movingPinDiv = $("#s_movingPin");
        m_movingPinDiv.val(frozenData.s_movingPin);
        var s_frozenBuyBackFeeDiv = $("#s_frozenBuyBackFee");
        s_frozenBuyBackFeeDiv.val(frozenData.s_frozenBuyBackFee);

    }


    loadData(list);


</script>
</body>
</html>